<template>
  <section class="travel-hero">
    <div class="container">
      <div class="hero-content">
        <h1 class="title">探索中国之美</h1>
        <h2 class="subtitle">AI智能规划您的完美旅程</h2>
        <p class="description">通过人工智能为您量身定制旅游路线，足不出户规划您的中国之旅</p>
        <div class="cta-buttons">
          <button class="primary-btn">开始规划</button>
          <button class="secondary-btn">了解更多</button>
        </div>
      </div>
    </div>
  </section>
</template>

<script setup>
// 组件逻辑可在此处添加
</script>

<style scoped>
.travel-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('@/assets/bg2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 500px;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.subtitle {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #e2e8f0;
}

.description {
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 600px;
  line-height: 1.6;
  color: #f8fafc;
}

.cta-buttons {
  display: flex;
  gap: 16px;
}

.primary-btn {
  background-color: #16a34a;
  color: white;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.primary-btn:hover {
  background-color: #15803d;
}

.secondary-btn {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .title {
    font-size: 36px;
  }
  
  .subtitle {
    font-size: 22px;
  }
  
  .description {
    font-size: 16px;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .primary-btn, .secondary-btn {
    width: 100%;
  }
}
</style> 